package com.spikything.video.events {
	
	import flash.events.Event;
	import flash.geom.Rectangle;
	
	public class VideoEvent extends Event {
		
		//public static const DO_PLAY_VIDEO:String 		= "VideoEvent_DO_PLAY_VIDEO"; 		// has mediaId
		public static const INFO_METADATA:String  		= "VideoEvent_INFO_METADATA"; 		// has duration
		
		public static const INFO_STOPPED:String  		= "VideoEvent_INFO_STOPPED";
		public static const INFO_PLAYING:String  		= "VideoEvent_INFO_PLAYING";
		public static const INFO_POSITION:String 		= "VideoEvent_INFO_POSITION"; 		// has position
		public static const INFO_ENDED:String    		= "VideoEvent_INFO_ENDED";
		public static const INFO_MUTED:String    		= "VideoEvent_INFO_MUTED";
		public static const INFO_UNMUTED:String  		= "VideoEvent_INFO_UNMUTED";
		public static const INFO_VIDMOVED:String 		= "VideoEvent_INFO_VIDMOVED"; 		// has locationRect
		public static const INFO_VOLUME:String 	 		= "VideoEvent_INFO_VOLUME"; 		// has volume
		
		public static const DO_PLAYPAUSE:String  		= "VideoEvent_DO_PLAYPAUSE";
		public static const DO_SETVOLUME:String  		= "VideoEvent_DO_SETVOLUME"; 		// has volume
		public static const DO_TOGGLEMUTE:String 		= "VideoEvent_DO_TOGGLEMUTE";
		public static const DO_SEEKTO:String     		= "VideoEvent_DO_SEEKTO"; 			// has position
		
		public static const DO_GO_FULLSCREEN:String 	= "VideoEvent_DO_GO_FULLSCREEN";
		public static const DO_EXIT_FULLSCREEN:String 	= "VideoEvent_DO_EXIT_FULLSCREEN";
		public static const DO_REBROADCAST:String 		= "VideoEvent_DO_REBROADCAST";
		public static const DO_OPEN_VOL_SLIDER:String 	= "VideoEvent_DO_OPEN_VOL_SLIDER";
		public static const DO_CLOSE_VOL_SLIDER:String 	= "VideoEvent_DO_CLOSE_VOL_SLIDER";
		
		public var duration		:Number;
		public var position		:Number;
		public var volume		:Number;
		public var mediaId		:String;
		public var locationRect	:Rectangle;
		
		public function VideoEvent(type:String) { super(type) };
		
	}
	
}